Deep structured semantic model produced using click-through data

ABSTRACT

A deep structured semantic module (DSSM) is described herein which uses a model that is discriminatively trained based on click-through data, e.g., such that a conditional likelihood of clicked documents, given respective queries, is maximized, and a condition likelihood of non-clicked documents, given the queries, is reduced. In operation, after training is complete, the DSSM maps an input item into an output item expressed in a semantic space, using the trained model. To facilitate training and runtime operation, a dimensionality-reduction module (DRM) can reduce the dimensionality of the input item that is fed to the DSSM. A search engine may use the above-summarized functionality to convert a query and a plurality of documents into the common semantic space, and then determine the similarity between the query and documents in the semantic space. The search engine may then rank the documents based, at least in part, on the similarity measures.

BACKGROUND

A traditional search engine processes a query by directly comparing terms in the query with terms in documents. In some cases, however, a query and a document use different words to express the same concept. A traditional search engine may produce unsatisfactory search results in these circumstances. A search engine may augment a query by finding synonyms of the query terms and adding those synonyms to the query. But even this tactic may fail to uncover conceptual similarities between a query and a document.

To address the above drawbacks, the research community has proposed search engines which project queries and documents to a semantic space, and then match the queries to the documents in that space, rather than (or in addition to) comparing the lexical “surface” form of the queries and documents. For example, a search engine may use the well-known Latent Semantic Analysis (LSA) technique to perform the above-described kind of processing. More recently, the research community has proposed models that express deeper relationships within input information, e.g., through the use of neural networks having plural hidden layers. For example, auto-encoders leverage deep learning to project linguistic items into a semantic space. One approach trains these auto-encoders in an unsupervised manner, e.g., by generating model parameters that optimize the reconstruction of documents, that is, after those documents have been converted into a semantic space.

The above-described latent analysis techniques have, in some cases, improved the quality of search results. Yet there remains room for further improvement in this field of research.

SUMMARY

A deep semantic structured module (DSSM) is described herein for projecting an input item to an output item in a semantic space. For example, the input item may correspond to an input vector that represents one or more words, while the output item may correspond to a concept vector that expresses semantic information regarding the word(s). A training system produces the model using click-through data. More specifically, in one implementation, the training system discriminatively trains the model using the click-through data such that a conditional likelihood of clicked documents, given respective queries, is maximized, and the conditional likelihood of non-clicked documents, given the respective queries, is reduced.

In one application, a search engine may use the DSSM to map a query into a semantic space. The search engine may then compute the respective similarities between the query and a plurality of documents, within the same semantic space. Based on those similarity measures (along with other optional ranking factors), the search engine can identify a subset of documents which are most relevant to the query, if any. The search engine may offer satisfactory performance in view of the fact that its runtime objective (of discriminating relevant documents from irrelevant documents) is aligned with the objective function that was used to train the DSSM's model.

According to one illustrative feature, the DSSM may be implemented as a deep neural network (DNN) having plural hidden layers. The model corresponds to parameter values which define how information is propagated through the DNN.

According to another illustrative feature, a dimensionality-reduction module (DRM) may transform the input item into a lower-dimension item, and then submit the lower-dimension item to the DSSM. The lower-dimension item may be expressed in a space having a much smaller dimensionality compared to the space associated with the original input item. In one implementation, the DRM can perform the transforming operation by expressing the input item as a plurality of n-grams, and then mapping the identified n-grams into a lower-dimension vector within the dimension-transformed space. According to one benefit, the training system can perform its training operation in a more efficient manner by acting on lower-dimension items, as opposed to operating on the original untransformed input items (which may have very high dimensionality).

According to another illustrative aspect, the DRM can be also used as a standalone component, that is, without subsequently feeding the lower-dimension items to the DSSM.

The above approach can be manifested in various types of systems, components, methods, computer readable storage media, data structures, graphical user interface presentations, articles of manufacture, and so on.

This Summary is provided to introduce a selection of concepts in a simplified form; these concepts are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an illustrative environment in which a search engine processes queries submitted by users. The search engine performs this task using a similarity determination system, which, in turn, uses a deep structured semantic model.

FIG. 2 shows one implementation of the environment of FIG. 1.

FIG. 3 shows one implementation of the similarity determination system of FIG. 1. The similarity determination system may employ one or more instances of a projection module.

FIG. 4 shows one implementation of a projection module, for use in the similarity determination system of FIG. 3.

FIG. 5 shows a portion of a deep neural network provided by the projection module of FIG. 4, e.g., showing the manner in which values associated with a first layer contribute to values associated with a second layer.

FIG. 6 shows one application of the similarity determination system of FIG. 3.

FIG. 7 shows one implementation of a dimensionality-reduction module, which is a component of the similarity determination system of FIG. 3.

FIG. 8 shows another implementation of a dimensionality-reduction module.

FIG. 9 shows one implementation of a training system, also shown in FIG. 1. The training system produces a model for use by the similarity determination system.

FIG. 10 is a flowchart that shows one illustrative manner of operation of the training system of FIG. 9.

FIG. 11 is a flowchart that shows one illustrative manner of operation of the similarity determination system, which is a component that initially appears in FIG. 1.

FIG. 12 is a flowchart that shows one illustrative manner of operation of a projection module, which is a component that initially appears in FIG. 3.

FIG. 13 is a flowchart that shows one illustrative manner of operation of a dimensionality-reduction module, which is a component that initially appears in FIG. 3.

FIG. 14 shows illustrative computing functionality that can be used to implement any aspect of the features shown in the foregoing drawings.

The same numbers are used throughout the disclosure and figures to reference like components and features. Series 100 numbers refer to features originally found in FIG. 1, series 200 numbers refer to features originally found in FIG. 2, series 300 numbers refer to features originally found in FIG. 3, and so on.

DETAILED DESCRIPTION

This disclosure is organized as follows. Section A describes illustrative functionality for mapping input items (e.g., input vectors representing one or more words) into a semantic space, using a model that is discriminatively trained based on click-through data. Section B sets forth illustrative methods which explain the operation of the functionality of Section A. Section C describes illustrative computing functionality that can be used to implement any aspect of the features described in Sections A and B.

As a preliminary matter, some of the figures describe concepts in the context of one or more structural components, variously referred to as functionality, modules, features, elements, etc. The various components shown in the figures can be implemented in any manner by any physical and tangible mechanisms, for instance, by software running on computer equipment, hardware (e.g., chip-implemented logic functionality), etc., and/or any combination thereof. In one case, the illustrated separation of various components in the figures into distinct units may reflect the use of corresponding distinct physical and tangible components in an actual implementation. Alternatively, or in addition, any single component illustrated in the figures may be implemented by plural actual physical components. Alternatively, or in addition, the depiction of any two or more separate components in the figures may reflect different functions performed by a single actual physical component. FIG. 14, to be described in turn, provides additional details regarding one illustrative physical implementation of the functions shown in the figures.

Other figures describe the concepts in flowchart form. In this form, certain operations are described as constituting distinct blocks performed in a certain order. Such implementations are illustrative and non-limiting. Certain blocks described herein can be grouped together and performed in a single operation, certain blocks can be broken apart into plural component blocks, and certain blocks can be performed in an order that differs from that which is illustrated herein (including a parallel manner of performing the blocks). The blocks shown in the flowcharts can be implemented in any manner by any physical and tangible mechanisms, for instance, by software running on computer equipment, hardware (e.g., chip-implemented logic functionality), etc., and/or any combination thereof.

As to terminology, the phrase “configured to” encompasses any way that any kind of physical and tangible functionality can be constructed to perform an identified operation. The functionality can be configured to perform an operation using, for instance, software running on computer equipment, hardware (e.g., chip-implemented logic functionality), etc., and/or any combination thereof.

The term “logic” encompasses any physical and tangible functionality for performing a task. For instance, each operation illustrated in the flowcharts corresponds to a logic component for performing that operation. An operation can be performed using, for instance, software running on computer equipment, hardware (e.g., chip-implemented logic functionality), etc., and/or any combination thereof. When implemented by computing equipment, a logic component represents an electrical component that is a physical part of the computing system, however implemented.

The phrase “means for” in the claims, if used, is intended to invoke the provisions of 35 U.S.C. §112, sixth paragraph. No other language, other than this specific phrase, is intended to invoke the provisions of that portion of the statute.

The following explanation may identify one or more features as “optional.” This type of statement is not to be interpreted as an exhaustive indication of features that may be considered optional; that is, other features can be considered as optional, although not expressly identified in the text. Finally, the terms “exemplary” or “illustrative” refer to one implementation among potentially many implementations.

A. Illustrative Functionality

A.1. Overview

FIG. 1 shows an environment 102 that includes a training system 104 for producing a deep structured semantic model 106 (henceforth, simply “model” 106). The training system 104 produces the model based on click-through data maintained in a data store 108. More specifically, as will be explained in greater detail below, the training system 104 produces the model 106 such that a conditional likelihood of clicked documents, given respective queries, is maximized, and the conditional likelihood of non-clicked documents, for the respective queries, is reduced.

Different systems may make use of the model 106 that is produced by the training system 104. In the illustrative environment of FIG. 1, a search engine 110 provides a search engine interface 112 for receiving a query from a user, who inputs the query via a user device 114. A similarity determination system 116 then uses the model 106 to project the query into a semantic space. More formally stated, the similarity determination system 116 projects a query input item that represents the query (e.g., corresponding to an input vector) into a query output item in the semantic space. The query output item captures latent semantic content associated with the query, and may be expressed as a query concept vector.

The similarity determination system 116 can then match the query against each of a plurality of documents in the semantic space, to generate a plurality of similarity measures. More formally stated, the similarity determination system 116 determines the similarity, in the semantic space, between the query output item and each document output item. Each document output item, in turn, is produced by projecting a document (providing in a data store 118) into the semantic space, in the same manner that the query is projected into the semantic space. Each document output item may be expressed as a document concept vector.

A ranking module 120 may use the similarity measures, optionally along with any other features, to assign ranking scores to the documents, given the query. Each ranking score indicates the assessed relevance of a particular document to the submitted query. Based on the ranking scores, the ranking module 120 can then generate a list of documents that are deemed most relevant to the user's query. The list may identify zero, one or more documents. Finally, the search engine interface 112 can return the list of documents to the user device 114 for the user's inspection.

From a very high-level perspective, the model 106 is discriminatively trained using an objective function that aims to boost the relevance of clicked documents, and decrease the relevance of non-clicked documents, with respect to respective queries in the click-through data. This objective function aligns with the principal objective of the search engine 110 itself. For this reason, the search engine 110 may be able to leverage the model 106 to provide highly relevant search results to Users.

In the case of FIG. 1, the user may specify a query in manual form, e.g., by typing one or more query terms into an interface page provided by the search engine interface 112. The user may also receive search results in a conventional manner, e.g., by receiving a ranked list of hyperlinks and snippets associated with the identified documents. However, the search engine 110 can receive a search query in any manner, and provide its search results in any form. For example, in an alternative case, the user device 114 can form a query by recognizing keywords in a user's speech. In another alternative technique, some component of the environment 102 can automatically formulate a query that expresses features associated with a triggering circumstance. For instance, the user device 114 can formulate a query in an automatic manner based the current location of the user.

Further, in the case of FIG. 1, the similarity determination system 116 uses the model 106 to compare a query with at least one document, within a semantic space. But more generally, the similarity determination system 116 can use the model 106 to determine the similarity between any two instances linguistic information, in any application context. For example, in another case, the similarity determination system 116 can use the model 106 to compare two documents within the semantic space, or to compare two phrases within the semantic space, etc. For instance, a user may identify a first document in a corpus as a query document, and then ask the similarity determination system 116 to identify one or more other documents that are semantically similar to the query document, if any.

Nevertheless, to simplify the explanation, the scenario most frequently evoked herein corresponds to the above-described case in which an end user uses his or her user device 114 to submit a query to the search engine 110. Further, to simplify the explanation, the similarity determination system 116 will henceforth be explained for the specific case in which each input item constitutes an input vector and each output item constitutes a concept vector. A vector, as that term is used herein, broadly corresponds to any information having two or more components, e.g., a component for each element in a given vocabulary or set.

FIG. 2 shows a system 202 which represents one implementation of the environment 102 shown in FIG. 1. Here, the search engine 110 is implemented by one or more servers, optionally together with other computing equipment (e.g., data stores, routers, load balancers, etc.). The search engine 110 may be provided at one physical site or distributed over plural physical sites.

Users operate respective user devices (e.g., user device 204 and user device 206) to interact with the search engine 110. Each user device may represent any computing equipment, such as a personal computer, a laptop computer, a computer work station, a smartphone or other type of cellular phone, a media consumption device, a tablet-type computing device, a wearable computing device, a set-top box, a game-playing console, and so on.

Each user device may interact with the search engine 110 via any communication mechanism 208, such as a wide area network (e.g., the Internet), a local area network, a point-to-point connection, and so on, or any combination thereof.

In an alternative implementation, one or more aspects of the search engine 110 can be implemented by each user device. For example, a user can interact with a local computing device to search a local database. In that context, the local computing device can implement all aspects of the search engine 110.

FIG. 3 shows one implementation of the similarity determination system 116 of FIG. 1. The similarity determination system 116 is depicted as including two or more instances of a projection module, e.g., a first projection module 302 and a second projection module 304, etc. Each instance of this projection functionality maps an input vector, which represents linguistic information, into an output concept vector. The concept vector is expressed in a semantic space and reveals semantic information regarding the linguistic information.

More specifically, in one case, the similarity determination system 116 can actually provide two or more separate instances of projection functionality, to implement the plural projection modules (302, 304) shown in FIG. 3. For example, the similarity determination system 116 can provide two or more physical processing components associated with different instances of projection functionality. Alternatively, or in addition, the similarity determination system 116 can provide separate software-implemented instances of projection functionality, such as separate threads, objects, etc. Alternatively, or in addition, the similarity determination system 116 can use a single instance of the projection functionality to process separate instances of input items in series, for example, by projecting a set of documents to the semantic domain, one after the other.

Consider the first projection module 302. That functionality includes a dimensionality-reduction module (DRM) 306 and a deep structured semantic module (DSSM) 308. The DRM 306 accepts an input vector which represents linguistic information. For example, assume that the linguistic information corresponds to a query that includes one or more strings (e.g., words). The original input vector can represent the linguistic information in any manner, such as a bag-of-words representation. More specifically, in that formulation, the input vector includes an entry for each possible word in a vocabulary. Each entry has a value that identifies the number of times that the corresponding word appears in the linguistic information. For example, for a query “choosing a dog at the dog shelter,” the entry in the input vector for “dog” will be assigned a value of 2.

As set forth in Subsection A.3, the DRM 306 can apply any strategy to transform the input vector into a lower-dimension item. The lower-dimension item may be expressed as a vector, and is henceforth referred to as a lower-dimension vector. As the name suggestions, the lower-dimension vector has fewer dimensions compared to the original input vector. In other words, the space associated with the lower-dimension vector is smaller than the space associated with the original input vector.

The projection module 302 reduces the dimensionality of each input vector for the principal purpose of expediting the processing performed by the training system 104; otherwise, the training may become practically intractable in some cases. The use of the DRM 306 also expedites the runtime processing of input vectors, e.g., corresponding to queries submitted by users, once the model has been generated in the training phase. In other cases, the training system 104 may perform training on the “raw” input vectors, without reduction in the dimension of the input vectors. For those cases, the projection module 302 can omit the DRM 306, in which case the DSSM 308 operates directly on the input vectors in both the training phrase and the runtime application phase.

The DSSM 308 projects each lower-dimension vector (or the original input vector) into a concept vector in a semantic space 310. The DSSM 308 uses the model 106 to perform this task.

The second transformation module 304 performs the same operations described above on a second linguistic item. For example, assume that the second linguistic item corresponds to a document, or a portion of the document. A DRM 312 then transforms an input vector, which represents the document, into a lower-dimension vector. The DSSM 314 then projects the lower-dimension vector into a concept vector in the semantic space 310. The DSSM 316 uses a model 106′ to perform this task.

In one case, the model 106 (used by the DSSM 308) is the same as the model 106′ (used by the DSSM 314). The training system 104 may produce that single model in a single training process based on a single corpus of click-through data. In another case, the training system 104 produces the model 106 in a first training process, and produces the model 106′ in a second training process. Each training process can potentially operate on a different corpus of click-through data. But in the following explanation it will henceforth be assumed that a single model 106 is used in all instantiations of the DSSM.

For simplicity, assume that symbol A represents a first concept vector generated by the first projection module 302. The symbol B represents a second concept vector generated by the second projection module 304. A similarity R(A,B) between A and B in the semantic space 310 represents the extent to which the first linguistic information (e.g., the query) expresses similar concepts to the second linguistic information (e.g., the document). The similarity between two concept vectors is inversely proportional to the distance (d) between them in the semantic space 310, such that two concept vectors that are “close” together will have a relatively high similarity measure.

A similarity determination module 316 determines the above-described similarity measure R(A,B). The similarity determination module 316 can use any technique to make this computation, such as by forming a cosine similarity measure, as described in greater detail below.

A.2. The Deep Structured Semantic Module (DSSM)

FIG. 4 shows one implementation of the projection module 302 introduced with respect to FIG. 3. To summarize, the projection module 302 includes a dimensionality-reduction module (DRM) 306 for mapping an input vector, here represented by x, into a lower-dimension vector. The input vector represents linguistic information (such as a query or a document) as a bag of words, or in some other manner of expression. A deep structured semantic module (DSSM) 308 projects the lower-dimension vector into an output concept vector within a semantic space. This subsection provides additional details regarding the DSSM 308. The next subsection provides additional details regarding the DRM 306.

The DSSM 308 may be implemented as a deep neural network (DNN), composed of a plurality of layers 402. FIG. 4 specifically shows that the DSSM 308 includes four layers, but, more generally, the DSSM 308 can include any number of layers. Each layer, in turn, includes a plural of elements, referred to as neurons. Each neuron stores a value. Each neuron, in a given layer, is furthermore connected to zero, one or more neurons in an immediately anterior layer (if any), and zero, one or more neurons in an immediately posterior layer (if any). Here, “anterior” and “posterior” refer to adjacent layers in relation to a direction of information flow through the DNN, which is from bottom to top in FIG. 4. That is, with respect to a given layer, anterior layers represent lower layers, while posterior layers represent higher layers.

The layers 402 include a bottommost layer 404 for storing values, collectively denoted by z₁. More specifically, the layer 404 represents the input to the DSSM 308, and therefore stores the values associated with the lower-dimension vector provided by the DRM 306. A next layer 406 stores a collection of values z₂ that are derived from the values z₁ in the first layer. A next layer 408 stores a collection of values z₃ that are derived from the values z₂ in the layer 406. A final output layer 410 stores a collection of values y that are derived from the values z₃ in the layer 408.

FIG. 4 also represents the various layers (404, 406, 408, 410) as boxes having different respective lengths to indicate that the different layers have different respective dimensionalities. Without limitation, in one implementation, the input vector x fed to the DRM 306 has a dimensionality of 500K, indicating that there are 500K possible words in an identified vocabulary. The layer 404 has a dimensionality of 30K. For instance, if an n-gram hashing technique is used to produce the lower-dimension vector, then the dimensionality of layer 404 means that there are 30K accepted n-grams (e.g., tri-grams) within the original corpus of 500K words. The layer 406 and the layer 408 each have a dimensionality of 300 elements. And the layer 410 has a dimensionality of 128 elements. Overall, the projection module maps the input vector (x), having a dimensionality of 500K, to the output concept vector (y) in the semantic space, having a dimensionality of 128 elements. To repeat, however, another implementation of the DSSM 308 can employ any number of layers, each of which can have any size.

More formally stated, in one implementation, the values z₁ in the layer 404 can be expressed as z₁=W₁x, where W₁ represents whatever transformation is used by the DRM 306 to produce the lower-dimension vector. The values z_(i) in layers 406 and 408 may be expressed as z_(i)=ƒ(W_(i)z_(i−1)+b_(i)), for i=2, . . . N−1. And the values y in the layer 410 may be expressed as y=ƒ(W_(N)z_(N-1)+b_(N)), where, in the specific example of FIG. 4, N=4. The symbol W_(i) denotes the i-th weighting matrix produced by the training system 104 (of FIG. 1), and the symbol b_(i) refers to an optional i-th bias term, also produced by the training system 104. The function ƒ(x), referred to as the activation function, can be formulated in different ways, such as the following tan h function:

$\begin{matrix} {{f(x)} = {\frac{1 - {\mathbb{e}}^{{- 2}x}}{1 + {\mathbb{e}}^{{- 2}x}}.}} & (1) \end{matrix}$

FIG. 5 clarifies the use the above equations with respect to small portion of two layers, namely, a first layer 502 and a second layer 504. The individual elements in each layer correspond to neurons which store values. The value z₂₁ of the first neuron in the second layer 504 can be computed by first forming a weighted linear combination of the values in the first input layer 502 that may contribute to this value, as in γ=z₁₁*w₁₁+z₁₂*w₁₂ . . . z_(1n)*w_(1n). The weighted sum y can then be plugged into the above-stated tan h function (in place of x) to derive the value for z₂₁. That is, z₂₁=ƒ(γ). The individual weighting values used in forming the weighted sum y collectively form one of the weighting matrices W_(i) generated by the training system 104, e.g., weighting matrix 506. For simplicity, the contribution of the bias factors in forming the weighted sum has been omitted in the above explanation.

FIG. 6 shows an application of the similarity determination system 116, and which also serves to summarize the components set forth with respect to FIGS. 3 and 4. In FIG. 6, a first projection module 602 produces a concept vector which expresses a query (Q) in a semantic space. A second projection module 604 produces a concept vector which expresses a document (D₁) in the same semantic space. A third projection module 606 produces a concept vector which expresses a document (D_(n)) in the same semantic space, and so on.

More specifically, the three (or more) instances of the projection module can be implemented by separate physical components or software instances. Or the three (or more) instances of the projection module can be implemented by a single physical component or software instance, which processes linguistic items in series, one after the other. Further, the projection module 604 and the projection module 606, etc. can optionally perform their processing operations on the documents (D₁, . . . , D_(n)) as an offline process, that is, in advance of the user submitting the query Q.

A first similarity determination module 608 determines the similarity between the query Q and the document D₁ in the semantic space, while a second similarity determination module 610 determines the similarity between the query Q and the document D_(n) in the semantic space. As noted above, each similarity determination module can compute the similarity between the query Q and a document D as a cosine similarity measure, as follows:

$\begin{matrix} {{R\left( {Q,D} \right)} = {{{cosine}\left( {y_{Q},y_{D}} \right)} = {\frac{y_{Q}^{T}y_{D}}{{y_{Q}}{y_{D}}}.}}} & (2) \end{matrix}$

The similarity measures, provided by the similarity determination modules (608, 610) constitute input features provided to the ranking module 120. The ranking module can rank the relevance of the documents based on the similarity measures alone, e.g., by identifying the document with the highest similarity measure as the most relevant document, and the document with the lowest similarity measure as the least relevant document. Alternatively, the ranking module 120 can rank the documents based on the similarity measures in combination with other features that have a bearing on the relevance of the documents. For example, the ranking module 120 may employ a ranking function that is trained by a machine learning technique based on any combination of descriptive features associated with the queries and documents.

A.3. The Dimensionality-Reduction Module (DRM)

FIG. 7 shows a dimensionality-reduction module (DRM) 702, which represents one implementation of the dimensionality-reduction modules (306, 312) of FIG. 4. Recall that one purpose of the DRM 702 is to reduce the dimensionality of each input vector, so as to render training performed by the training system 104 more efficient, and thus more commercially feasible, and to expedite runtime processing of input vectors in the application phase, e.g., in executing searches. Further, as will be described below, the DRM 702 can produce results that are useful in other applications, that is, other than the scenario in which DRM 702 serves as an input stage to a deep structured semantic module (DSSM).

To begin with, a transformation module 704 accepts an input vector and performs one or more optional preliminary transformations on the input vector. For example, assume that the linguistic information in question is a query having the sole keyword “good.” The transformation module 704 can modify the information associated with the input vector by adding a beginning token to the start of the word, and adding an ending token to the end of the word, e.g., to produce “#good#”. This result is generally referred to as a converted item.

A partition module 706 breaks the converted item into a plurality of n-grams. Each n-gram contains a sequence of n consecutive letters in the input word. For example, in the case of FIG. 7, the partition module 706 breaks the converted item “#good#” into the four tri-grams “#go,” “goo,” “ood,” and “od#”. A mapping module 708 then maps the identified n-grams to entries in the lower-dimension vector. For example, the mapping module 708 can produce a lower-dimension vector having 30K entries, corresponding to all the possible permutations of three-letter sequences that may be used in the 500K vocabulary associated with the input space. All entries in the 30K-element vector will have a count of zero, except the entries for “#go,” “goo,” “ood,” and “od#”, which will each have a count of 1.

There are relatively rare cases in which two different words may map to the same n-gram vector. However, as these cases are very rare, the DRM 702 can effectively ignore them without having a noticeable effect on the performance of the DRM 702. Or the DRM 702 can provide special processing to addresses these rare cases, e.g., by artificially inducing distinguishing vectors for words which collide in the dimension-reduced space.

FIG. 8 shows a dimensionality-reduction module (DRM) 802 having the same components described above, that is, a transformation module 804, a partition module 806, and a mapping module 808. These modules perform the same functions that were described above with reference to FIG. 7. In the case of FIG. 8, however, the transformation module 804 performs any type of additional transformation on the input vector. For example, the transformation module 804 can first convert the input word “cat” to its phonetic representation, e.g., “kat”. The transformation module 803 may then add beginning and ending tokens to the phonetic representation in the manner stated above, to produce “#kat#”.

As a point of clarification, FIGS. 7 and 8 represent cases in which each input vectors represent a single string. But an input vector may include two or more strings. In that case, the mapping modules (708, 808) can produce counts that represent the total number of n-grams of particular kinds that appear within the two or more strings. For example, the phrase “good God” would include a count of 2 for the tri-grams “#go” and “od#” after ignoring the case. The transformation modules (704, 804) can optionally join the two or more strings together before sending them to the partition modules (706, 806), e.g., to create the single string “goodGod”.

Returning briefly to FIG. 3, the DRMs (306, 312) serve as input stages to the DSSMs (308, 314). In an alternative case, the DRMs (306, 312) can feed their lower-dimension vectors directly into the similarity determination module 316, without the use of the DSSMs (308, 314). For example, the first DRM 306 can form a dimension-transformed representation of a query, while the second DRM 312 can form a dimension-transformed representation of a word or phrase in a document. The similarity determination module 316 can then compare these two lower-dimension vectors to determine the similarity between them. This mode of operation is potentially useful to help generalize the representations of instances of linguistic information, making them more likely to agree despite the presence of small differences between the surface representations of the linguistic items.

Finally, note that the DRMs (306, 312) in FIG. 3 can use any technique to reduce the dimensionality input vectors that are fed to them, rather than, or in addition to, the n-gram hashing technique described above. For example, in another case, the training system 104 can produce a reduced-dimension matrix R having a prescribed distribution of values (but note that such training is outside the context of the training of the model 106). In one merely representative case, the matrix R can have entries having values of 1 and −1 with equal probabilities, and values of 0 with a probability of 1−1/√{square root over (d)}, where d refers to the dimensionality of the space in which input information is expressed. A DRM can then multiply the input vector x with the matrix R, as in z₁=Rx, to produce a lower-dimension vector. One drawback of this technique is that it does not, without modification, allow for the processing of newly-encountered words that are unaccounted for in the original vocabulary. The n-gram hashing technique, on the other hand, can successfully address this situation because it can successfully interpret the n-grams in the new word.

The weighting matrix W₁ shown in FIG. 3 generically represents whatever information is used to by the DRMs (306, 312) to perform their transformation tasks.

A.4. The Training System

FIG. 9 shows one implementation of the training system 104 of FIG. 1. The training system 104 processes a corpus of click-through data (provided in a data store 108), to generate the model 106. The model 106 represents the collection of weighting matrixes (W_(i)) and bias factors (b_(i)) shown in FIG. 3. Collectively, the parameter values associated with the model 106 are referred to using the symbol A.

The click-through data generally describes queries submitted by actual users over some span of time, together with an indication of documents that the users clicked on and the documents that the users failed to click on after submitting those queries. Here, the term “click” is intended to have broad connotation. It may describe the case in which a user literally clicks on an entry within search results, or some other presentation of options, using a mouse device. But the term click also encompasses the cases in which a user selects a document in any other manner, such as by using a gesture on a touchscreen, a free-space gesture that is detected using a video camera, a keyboard action, etc. In other cases, the term click describes the case in which a user exhibits interest in a document, without expressly selecting the document, such as by hovering over an entry associated with the document, or gazing at the document (which can be detected by eye gaze recognition technology), and so on. In other cases, some other entity, other than a single user, is the agent which performs the selecting, such as a crowd of users, an automated software agent (e.g., a BOT), etc. Likewise, the terms “query” and “document” have broad meaning, each encompassing any linguistic information that includes one or more strings.

However formed, the click-through data encompasses a plurality of instances of training data, each constituting a training example. Each example includes a query (Q), a document (D⁺) that the user selected in response to the query, and at least one document (D⁻) that the user did not select in response to the query. In one case, a data collection module can mine this information from archives of a search engine. In that situation, a non-clicked document (D⁻) of a training instance may correspond to an actual document that was offered to a user in response to a query, but which the user declined to select. In other cases, the collection module can randomly select any document from a corpus of documents, so long as the user did not actually select that document in response to the query. But in this latter case, there is no requirement that this document D⁻ was actually presented to the user. In any case, FIG. 9 shows that a training example includes four non-clicked documents {D₂ ⁻, D₃ ⁻, D₄ ⁻, D₅ ⁻}, but a training example can include any number of such documents.

The training system 104 operates by using an iterative solving mechanism 902 to iteratively achieve an objective defined an objective function 904, by iteratively changing the parameter values of the model A. When the iterative processing is finished, the final parameter values constitute the trained model A. The objective function 904, in turn, mathematically expresses an aim which the model A seeks to achieve, when fully trained. In the present case, the objective function stipulates that the conditional likelihood of the clicked documents, given respective queries, is to be maximized, and the conditional likelihood of non-clicked documents, given the queries, is to be reduced. In other words, the objective function attempts to make the assessed relevance of clicked documents as high as possible, while simultaneously attempting to make the assessed relevance of non-clicked documents as low as possible.

To mathematically derive the objective function, first note that the probability P (D|Q) of a clicked document (D⁺) in a training example, given a query Q, can first be expressed as a softmax function as follows:

$\begin{matrix} {{P\left( D^{+} \middle| Q \right)} = {\frac{\exp\left( {\psi\;{R_{\Lambda}\left( {Q,D^{+}} \right)}} \right)}{\sum\limits_{D^{\prime} \in D}{\exp\left( {\psi\;{R_{\Lambda}\left( {Q,D^{\prime}} \right)}} \right)}}.}} & (3) \end{matrix}$

The term R_(Λ)(Q,D⁺) represents the similarity between the query Q and the clicked document D⁺ in the semantic space, for a given current selection of parameters associated with a model Λ. The term D represents the set of five documents in the training instance, including D⁺ and the four non-clicked documents, although, as stated above, a training example can include any number of non-clicked documents. The term R_(Λ)(Q,D′) represents the similarity between the query Q and one of the documents (D′) in the training example, in the semantic space. The symbol ψ represents an empirically-derived smoothing factor (e.g., which can be generated by analyzing a held-out dataset of training examples). For this individual training example, the objection function will express an attempt to make R(Q,D⁺) as high as possible, and each R(Q,D⁻) as low as possible, to overall make P (D⁺|Q) as high as possible, and each P (D⁻|Q) as low as possible.

Overall, when considering all of the training instances in the corpus of click-through data, the objective function involves attempting to maximize the conditional likelihood of the clicked documents given the corresponding queries, or equivalently, minimize the following loss equation:

$\begin{matrix} {{L(\Lambda)} = {{- \log}{\prod\limits_{({Q,D^{+}})}\;{{P\left( D^{+} \middle| Q \right)}.}}}} & (4) \end{matrix}$

In other words, the objective is to derive a set of parameter values that minimizes the above equation, with respect to all of the examples in the empirical click-through data, or some subset thereof.

In one approach, the iterative solving mechanism 902 uses a gradient-based numerical optimization algorithm to solve the above problem, such as a gradient descent technique. The iterative solving mechanism 902, for instance, can apply the following update rule to perform the optimization:

$\begin{matrix} {\Lambda_{t} = \left. {\Lambda_{t - 1} - {\varepsilon_{t}\frac{\partial{L(\Lambda)}}{\partial\Lambda}}} \middle| {}_{\Lambda = \Lambda_{t - 1}}. \right.} & (5) \end{matrix}$

Here, Λ_(t) and Λ_(t-1) are the models at the t^(th) and t−1^(th) iteration, respectively, and ε_(t) is a learning rate parameter. From a high-level perspective, the iterative solving mechanism 902 makes a large change in the model Λ whenever the model Λ is changing by a relatively large amount from iteration to iteration, and makes a smaller change in the model Λ whenever the model Λ is changing by a slower amount.

More specifically, assume that there are M training examples in the click-through data. The m^(th) training example is (Q_(m), D_(m) ⁺), corresponding to a particular pairing of a submitted query (Q_(m)) and a document (D_(m) ⁺) that has been clicked in response to that query. The loss function for that individual training instance is: L _(r)(Λ)=−log P(D _(m) ⁺ |Q _(m))  (6).

The derivative of the loss function as a whole can therefore be expressed as:

$\begin{matrix} {\frac{\partial{L(\Lambda)}}{\partial\Lambda} = {\sum\limits_{m = 1}^{M}{\frac{\partial{L_{m}(\Lambda)}}{\partial\Lambda}.}}} & (7) \end{matrix}$

The term

$\frac{\partial{L_{m}(\Lambda)}}{\partial\Lambda}$ can be derived as follows. To simplify the notation, the subscript m will be omitted in the following. First, the loss function derived above can be expressed as follows: L(Λ)=log(1+Σ_(j)exp(−ψΔ_(j))  (8),

where Δ_(j)=R(Q,D⁺)−R(Q,D_(j) ⁻). The gradient of the loss function with respect to the N^(th) weight matrix W_(N) is:

$\begin{matrix} {{\frac{\partial{L(\Lambda)}}{\partial W_{N}} = {\sum\limits_{j}{\alpha_{j}\frac{\partial\Delta_{j}}{\partial W_{N}}}}},{{where}\text{:}}} & (9) \\ {{\frac{\partial\Delta_{j}}{\partial W_{N}} = {\frac{\partial{R\left( {Q,D^{+}} \right)}}{\partial W_{N}} - \frac{\partial{R\left( {Q,D_{j}^{-}} \right)}}{\partial W_{N}}}}{and}} & (10) \\ {\alpha_{j} = {\frac{- {{\psi exp}\left( {- {\psi\Delta}_{j}} \right)}}{1 + {\sum\limits_{j^{\prime}}{\exp\left( {- {\psi\Delta}_{j^{\prime}}} \right)}}}.}} & (11) \end{matrix}$

Now, let z_(i,Q) and z_(i,D) refer to the activation in the hidden layer i for query Q and document D, respectively. And let y_(Q) and y_(D) refer to the output activation for the output layer 410 for query Q and document D, respectively. Further, to simplify the following notation, let a, b, and c correspond to y_(Q) ^(T)γ_(D), 1/∥y_(Q)∥, and 1/∥y_(D)∥, respectively. Finally, assume that the activation function used by the model corresponds to the tan h function described above in Equation (1). With those definitions, each term in the right-hand side of Equation (10) can be calculated for the pair (Q,D) using the following formula:

$\begin{matrix} {\begin{matrix} {\frac{\partial{R\left( {Q,D} \right)}}{\partial W_{N}} = {\frac{\partial}{\partial W_{N}}\frac{y_{Q}^{T}y_{D}}{{y_{Q}}{y_{D}}}}} \\ {{= {{\delta_{y_{Q}}^{({Q,D})}z_{{N - 1},Q}^{T}} + {\delta_{y_{D}}^{({Q,D})}z_{{N - 1},D}^{T}}}},} \end{matrix},{{where}\text{:}}} & (12) \\ {{\delta_{y_{Q}}^{({Q,D})} = {\left( {1 - y_{Q}} \right) \circ \left( {1 + y_{Q}} \right) \circ \left( {{bcy}_{D} - {{acb}^{3}y_{Q}}} \right)}}{and}} & (13) \\ {\delta_{y_{Q}}^{({Q,D})} = {{\left( {1 - y_{D}} \right) \circ \left( {1 + y_{D}} \right) \circ \left( {{bcy}_{Q} - {{acb}^{3}y_{D}}} \right)}.}} & (14) \end{matrix}$

In the above equations, the operation ∘ is an element-wise multiplication (i.e., a Hadamard product).

The values {δ} for each successive hidden layer, moving down through the DNN in the direction of FIG. 3, can be computed through back projection as follows: δ_(i,Q) ^((Q,D))=(1+z _(i,Q))∘(1−z _(i,Q))∘W _(i) ^(T)δ_(i+1,Q) ^((Q,D))  (15) and δ_(i,D) ^((Q,D))=(1+z _(i,D))∘(1−z _(i,D))∘W _(i) ^(T)δ_(i+1,D) ^((Q,D))  (16).

Correspondingly, the gradient of the loss function with respect to an intermediate weight matrix W_(i), i=2, . . . , N−1, can be computed as:

$\begin{matrix} {{\frac{\partial{L(\Lambda)}}{\partial W_{i}} = {\sum\limits_{j}{\alpha_{j}\frac{\partial\Delta_{j}}{\partial W_{i}}}}},} & (17) \end{matrix}$

where

$\frac{\partial\Delta_{j}}{\partial W_{i}}$ is equal to: (δ_(i,Q) ^((Q,D) ⁺ ⁾ z _(i−1,Q) ^(T)+δ_(i,D) ₊ ^((Q,D) ⁺ ⁾ z _(i−1,D) ₊ ^(T))−(δ_(i,Q) ^((Q,D) ^(j) ⁻ ⁾ z _(i−1,Q) ^(T)+δ_(i,D) _(j) ⁻ ^((Q,D) ^(j) ⁻ ⁾ z _(i−1,D) _(j) ⁻ ^(T))  (18).

In a next “forward” phase of the training, the iterative solving mechanism 902 uses the thus-calculated weighting matrices to reprocess the various input vectors x, e.g., using the equations described in Subsection A.2. This operation updates the values associated with the neurons in the various layers 402 of the DNN. In a next “backward” phrase of the training, the iterative solving mechanism 902 then uses the above equations to re-compute the weighting matrices. The iterative solving mechanism 902 repeats the above-described training process until the DNN accurately models the behavior expressed in the click-through data, within a desired degree of tolerance. The bias factors b_(i) can be derived using the same approach described above.

The training system 104 can perform the above-described processing using parallel processing resources 906. The parallel processing resources 906 can be implemented in any manner, e.g., using hardware units, software units, or a combination thereof. For example, the training system 104 can use an architecture similar to that shown in FIG. 3. Each separate processing unit, however implemented, can include a dimensionality-reduction module (DRM) for calculating a lower-dimension vector associated with a document D, a deep structured semantic module (DSSM) for generating an output concept vector y_(D) in the semantic space, a similarity determination module for generating the similarity measure R(Q,D), and a softmax module for generating P (D|Q). Another processing unit can generate a representation y_(Q) of the query Q in the semantic space.

B. Illustrative Processes

FIGS. 10-13 explain the various components of FIG. 1 in flowchart form. Since the principles underlying the operation of these components have already been described in Section A, certain operations will be addressed in summary fashion in this section.

Starting with FIG. 10, this figure shows a procedure 1002 by which the training system 104 produces the model 106. In block 1004, the training system 104 receives click-through data, e.g., from a search log archive provided by the search engine 110, or from some other source. In block 1006, the training system 104 optionally transforms queries and documents in the click-through data into a dimension-reduced form using one or more dimensionality-reduction modules (DRMs). This yields lower-dimension items. In block 1008, the training system 104 generates the model 106 using the lower-dimension items (or the original input items). In one approach, the training system 104 performs this training such that the conditional likelihood of clicked documents, given respective queries, is maximized, and the conditional likelihood of non-clicked documents, given the queries, is reduced. In block 1010, the training system 104 stores the model 106. For instance, block 1010 may constitute installing the model 106 in the search engine 110.

FIG. 11 shows a procedure 1102 which describes the operation of the search engine 110 of FIG. 1. In block 1104, the similarity determination system 116 receives a first input item (e.g., a first input vector) which represents first linguistic information, e.g., a query. In block 1106, the similarity determination system 116 projects the first input item into a first output item (e.g., a first concept vector) expressed in a semantic space, using the model 106 trained as per the procedure of FIG. 10. In block 1108, the similarity determination system 116 receives a second output item (e.g., a second concept vector) that is also expressed in the semantic space. For instance, the similarity determination system 116 may have previously produced the second output item by projecting a second input item, representing a document, into the semantic space. In block 1110, the similarity determination system 116 determines a similarity measure which reflects a similarity between the first output item and the second output item, in the semantic space. The feedback loop indicates that the similarity determination system 116 can perform the above-described operation for one or more additional documents, to generate one or more additional similarity measures. More specifically, these per-document operations can be performed in series, as shown, or in parallel, or combination thereof. In block 1112, the ranking module 120 ranks the documents based on the similarity measures, to produce search results. In block 1114, the search engine 110 outputs search results that are provided in block 1112.

FIG. 12 shows a procedure 1202 that represents one manner of operation of the projection module 302 of FIG. 4. In block 1204, the dimensionality-reduction module (DRM) 306 receives an input item (e.g., an input vector) that represents linguistic information, such as a query or part of a document, etc. In block 1206, the DRM 306 transforms the input item into a lower-dimension item, e.g., by performing n-gram hashing, random projection, or some other technique to produce a lower-dimension vector. In block 1208, the deep-structured semantic module (DSSM) 308 projects, using the model 106, the lower-dimension item to an output item expressed in a semantic space. In block 1210, the DSSM 308 outputs the output item, e.g., by sending it to the similarity determination module 316 of FIG. 3.

FIG. 13 shows a procedure 1302 which explains one manner of operation of the DRM 306 of FIG. 4, which can be implemented using the functionality of FIG. 7 or 8, or some other functionality. In block 1304, the DRM 306 receives an input item that represents linguistic information, such as a query or part of a document. In block 1306, the DRM 306 optionally converts the input item into a converted item, such as by adding beginning and ending tokens to the word(s) associated with the input item, and/or converting the word(s) into their phonetic form. In block 1308, the DRM 306 expresses the information associated with the converted item as a plurality of n-grams. In block 1310, the DRM 306 maps the identified n-grams to counts in a lower-dimension item. Overall, the procedure 1302 shown in FIG. 13 can be performed with or without subsequently processing the lower-dimension item using the DSSM 308.

C. Representative Computing Functionality

FIG. 14 shows computing functionality 1402 that can be used to implement any aspect of the functionality of Sections A and B. For instance, the type of computing functionality 1402 shown in FIG. 14 can be used to implement the training system 104, and/or any component of the search engine 110 (such as the similarity determination system 116), and/or the user device 114, etc. In all cases, the computing functionality 1402 represents one or more physical and tangible processing mechanisms.

The computing functionality 1402 can include one or more processing devices 1404, such as one or more central processing units (CPUs), and/or one or more graphical processing units (GPUs), and so on.

The computing functionality 1402 can also include any storage resources 1406 for storing any kind of information, such as code, settings, data, etc. Without limitation, for instance, the storage resources 1406 may include any of RAM of any type(s), ROM of any type(s), flash devices, hard disks, optical disks, and so on. More generally, any storage resource can use any technology for storing information. Further, any storage resource may provide volatile or non-volatile retention of information. Further, any storage resource may represent a fixed or removal component of the computing functionality 1402. The computing functionality 1402 may perform any of the functions described above when the processing devices 1404 carry out instructions stored in any storage resource or combination of storage resources.

As to terminology, any of the storage resources 1406, or any combination of the storage resources 1406, may be regarded as a computer readable medium. In many cases, a computer readable medium represents some form of physical and tangible entity. The term computer readable medium also encompasses propagated signals, e.g., transmitted or received via physical conduit and/or air or other wireless medium, etc. However, the specific terms “computer readable storage medium” and “computer readable medium device” expressly exclude propagated signals per se, while including all other forms of computer readable media.

The computing functionality 1402 also includes one or more drive mechanisms 1408 for interacting with any storage resource, such as a hard disk drive mechanism, an optical disk drive mechanism, and so on.

The computing functionality 1402 also includes an input/output module 1410 for receiving various inputs (via input devices 1412), and for providing various outputs (via output devices 1414). Illustrative input devices include a keyboard device, a mouse input device, a touchscreen input device, a digitizing pad, one or more video cameras, one or more depth cameras, a free space gesture recognition mechanism, one or more microphones, a voice recognition mechanism, any movement detection mechanisms (e.g., accelerometers, gyroscopes, etc.), and so on. One particular output mechanism may include a presentation device 1416 and an associated graphical user interface (GUI) 1418. Other output devices include a printer, a model-generating mechanism, a tactile output mechanism, an archival mechanism (for storing output information), and so on. The computing functionality 1402 can also include one or more network interfaces 1420 for exchanging data with other devices via one or more communication conduits 1422. One or more communication buses 1424 communicatively couple the above-described components together.

The communication conduit(s) 1422 can be implemented in any manner, e.g., by a local area network, a wide area network (e.g., the Internet), point-to-point connections, etc., or any combination thereof. The communication conduit(s) 1422 can include any combination of hardwired links, wireless links, routers, gateway functionality, name servers, etc., governed by any protocol or combination of protocols.

Alternatively, or in addition, any of the functions described in the preceding sections can be performed, at least in part, by one or more hardware logic components. For example, without limitation, the computing functionality 1402 can be implemented using one or more of: Field-programmable Gate Arrays (FPGAs); Application-specific Integrated Circuits (ASICs); Application-specific Standard Products (ASSPs); System-on-a-chip systems (SOCs); Complex Programmable Logic Devices (CPLDs), etc.

In closing, the functionality described herein can employ various mechanisms to ensure the privacy of user data maintained by the functionality, if any. For example, the functionality can allow a user to expressly opt in to (and then expressly opt out of) the provisions of the functionality. The functionality can also provide suitable security mechanisms to ensure the privacy of the user data (such as data-sanitizing mechanisms, encryption mechanisms, password-protection mechanisms, etc.).

Further, the description may have described various concepts in the context of illustrative challenges or problems. This manner of explanation does not constitute a representation that others have appreciated and/or articulated the challenges or problems in the manner specified herein. Further, the claimed subject matter is not limited to implementations that solve any or all of the noted challenges/problems.

More generally, although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. 

What is claimed is:
 1. One or more computing devices comprising: a processing device; and a projection module executable on the processing device, the projection module comprising: a dimensionality-reduction module configured to: receive an input item that represents linguistic information comprising a plurality of input words from a vocabulary space having a first dimensionality; and transform the input item into a lower-dimension item that represents individual input words in another space having a second dimensionality that is smaller than the first dimensionality of the vocabulary space; and a deep structured semantic module configured to, after the input item has been transformed into the lower-dimension item: receive the lower-dimension item from the dimensionality-reduction module; and project, using a model, the lower-dimension item into an output item other than the lower-dimension item, the output item being expressed in a semantic space, and the model being discriminatively trained based on click-through data.
 2. The one or more computing devices of claim 1, wherein the model is trained using the click-through data such that a conditional likelihood of clicked documents, given respective queries, is maximized, and the conditional likelihood of un-clicked documents, given the respective queries, is reduced.
 3. The one or more computing devices of claim 1, wherein each instance of click-through data comprises a set that includes: a query; a document which has been selected in response to submission of the query; and at least one other document that is assumed to have not been selected in response to submission of the query.
 4. The one or more computing devices of claim 1, wherein the deep structured semantic module comprises a deep neural network having at least one hidden layer.
 5. The one or more computing devices of claim 4, wherein the model is expressed by a plurality of weighting matrices, each weighting matrix providing weighting values for use in projecting values associated with a first layer into values associated with a second layer, the first layer being coupled to the second layer.
 6. The one or more computing devices of claim 1, wherein the dimensionality-reduction module is configured to transform the input item using a random projection technique.
 7. The one or more computing devices of claim 1, wherein the dimensionality-reduction module is configured to transform the input item by: expressing the input item as a plurality of n-grams; and forming the lower-dimension item based on the plurality of n-grams, each n-gram corresponding to a sequence of letters associated with the input item.
 8. The one or more computing devices of claim 1, wherein the dimensionality-reduction module is configured to perform the transforming by: converting the input item into a converted item; expressing the converted item as a plurality of n-grams; and forming the lower-dimension item based on the plurality of n-grams, each n-gram corresponding to a sequence of letters associated with the converted item.
 9. The one or more computing devices of claim 8, wherein the dimensionality-reduction module is configured to perform said converting by providing a phonetic representation of the input item.
 10. A method implemented by one or more computing devices the method comprising: receiving a first input item which represents first linguistic information provided in a vocabulary space having a first dimensionality; converting the first input item into a phonetic representation of the first input item; projecting, using a model, the phonetic representation of the first input item into a first output item, the first output item being expressed in a semantic space; receiving a second output item which represents second linguistic information, the second output item also being expressed in the semantic space; and determining a similarity between the first output item and the second output item in the semantic space to obtain a similarity measure between the first linguistic information and the second linguistic information, said projecting using a deep neural network, and the model being discriminatively trained based on click-through data.
 11. The method of claim 10, wherein the first linguistic information is a query, and the second linguistic information is associated with a document.
 12. The method of claim 10, wherein the second output item is also produced using a deep neural network, using a model trained based on the click-through data.
 13. The method of claim 10, wherein the model is trained using the click-through data such that, for a given query in the click-through data, relevant documents are distinguished from less relevant documents.
 14. The method of claim 10, wherein each instance of click-through data comprises a set that includes: a query; a document which has been selected in response to submission of the query; and at least one other document that is assumed to have not been selected in response to submission of the query.
 15. The method of claim 10, further comprising: converting the second linguistic information into a phonetic representation of the second linguistic information; and using the deep neural network to project the phonetic representation of the second linguistic information into the second output item.
 16. A system comprising: a processing device; and a computer readable storage medium storing instructions which, when executed by the processing device, cause the processing device to: receive an input item that represents linguistic information comprising an input word from a vocabulary space having a first dimensionality; represent the input item as a plurality of n-grams; map the input into a lower-dimension item that represents the plurality of n-grams in another space having a second dimensionality that is smaller than the first dimensionality of the vocabulary space of the linguistic information; and use a model to project the lower-dimension item that represents the plurality of n-grams into a semantic space to obtain a semantic output item representing the input item, wherein the model is trained using click-through data.
 17. The system of claim 16, wherein the instructions, when executed, further cause the processing device to: represent documents retrieved via various queries from the click-through data and represent the documents as other n-grams; map the other n-grams representing the documents into other lower-dimension items representing the other n-grams in the another space; use the model to project the other lower-dimension items into the semantic space to obtain other semantic output items representing the documents; and determine similarities of the input item to the documents by comparing the semantic output item representing the input item to the other semantic output items representing the documents.
 18. The system of claim 17, wherein the click-through data represents instances where various users have selected individual documents after submitting individual queries.
 19. The system of claim 17, wherein the semantic output item representing the input item comprises a vector and the other semantic output items representing the documents comprise other vectors.
 20. The system of claim 17, wherein the vocabulary space of the input item comprises approximately 500,000 possible words and the another space of the lower-dimension item comprises approximately 30,000 accepted n-grams. 